package com.example.springsecurity.common.constant;

/**
 * @Description：公共常量类
 * @Author：fengcheng
 * @Date：2025/1/17 10:44
 */
public class Constant {
    public static final String RES_SUCCESS_MSG = "操作成功！";
    public static final String RES_FAILED_MSG = "操作失败！";
    public static final String CHECK_ERROR_MSG = "校验失败";
    public static final String BUSINESS_ERROR_MSG = "业务处理失败";
    public static final String CODE_ERROR_MSG = "代码判断错误";
    public static final String SYSTEM_ERROR_MSG = "操作失败，请稍后重试！";
    public static final String GLOBAL_EXCEPTION_MSG = "全局异常捕获";
    public static final String BUSINESS_EXCEPTION_MSG = "业务异常";
    public static final String RUNTIME_EXCEPTION_MSG = "运行时异常";
    public static final String NULL_EXCEPTION_MSG = "空指针异常";
    public static final String PARAM_EXCEPTION_MSG = "参数校验发生异常";
    public static final String REDIS_LOGIN_PATH = "login:";
    public static final int ENABLE_CAPTCHA_NUMBER = 1;
    public static String ADMIN = "ADMIN";
    public static String USER = "USER";
    public static String COLON = "：";
    public static String MID_BAR = " - ";
    public static String AUTHORIZATION = "Authorization";
    public static String USER_AGENT = "user-agent";
    public static String STRING_ZERO = "0";
    public static String PERMISSION_PREFIX = "perm:";
}
